﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000303 RID: 771
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class CLNCKEAGDOI : IMessage<CLNCKEAGDOI>, IMessage, IEquatable<CLNCKEAGDOI>, IDeepCloneable<CLNCKEAGDOI>, IBufferMessage
	{
		// Token: 0x170009F2 RID: 2546
		// (get) Token: 0x06002269 RID: 8809 RVA: 0x00061278 File Offset: 0x0005F478
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<CLNCKEAGDOI> Parser
		{
			get
			{
				return CLNCKEAGDOI._parser;
			}
		}

		// Token: 0x170009F3 RID: 2547
		// (get) Token: 0x0600226A RID: 8810 RVA: 0x0006127F File Offset: 0x0005F47F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return CLNCKEAGDOIReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170009F4 RID: 2548
		// (get) Token: 0x0600226B RID: 8811 RVA: 0x00061291 File Offset: 0x0005F491
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return CLNCKEAGDOI.Descriptor;
			}
		}

		// Token: 0x0600226C RID: 8812 RVA: 0x00061298 File Offset: 0x0005F498
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CLNCKEAGDOI()
		{
		}

		// Token: 0x0600226D RID: 8813 RVA: 0x000612A0 File Offset: 0x0005F4A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CLNCKEAGDOI(CLNCKEAGDOI other) : this()
		{
			this.scepterId_ = other.scepterId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600226E RID: 8814 RVA: 0x000612C5 File Offset: 0x0005F4C5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CLNCKEAGDOI Clone()
		{
			return new CLNCKEAGDOI(this);
		}

		// Token: 0x170009F5 RID: 2549
		// (get) Token: 0x0600226F RID: 8815 RVA: 0x000612CD File Offset: 0x0005F4CD
		// (set) Token: 0x06002270 RID: 8816 RVA: 0x000612D5 File Offset: 0x0005F4D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ScepterId
		{
			get
			{
				return this.scepterId_;
			}
			set
			{
				this.scepterId_ = value;
			}
		}

		// Token: 0x06002271 RID: 8817 RVA: 0x000612DE File Offset: 0x0005F4DE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as CLNCKEAGDOI);
		}

		// Token: 0x06002272 RID: 8818 RVA: 0x000612EC File Offset: 0x0005F4EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(CLNCKEAGDOI other)
		{
			return other != null && (other == this || (this.ScepterId == other.ScepterId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06002273 RID: 8819 RVA: 0x0006131C File Offset: 0x0005F51C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ScepterId != 0U)
			{
				num ^= this.ScepterId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06002274 RID: 8820 RVA: 0x0006135B File Offset: 0x0005F55B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06002275 RID: 8821 RVA: 0x00061363 File Offset: 0x0005F563
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06002276 RID: 8822 RVA: 0x0006136C File Offset: 0x0005F56C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ScepterId != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.ScepterId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06002277 RID: 8823 RVA: 0x000613A0 File Offset: 0x0005F5A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ScepterId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ScepterId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002278 RID: 8824 RVA: 0x000613DE File Offset: 0x0005F5DE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CLNCKEAGDOI other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ScepterId != 0U)
			{
				this.ScepterId = other.ScepterId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002279 RID: 8825 RVA: 0x0006140F File Offset: 0x0005F60F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600227A RID: 8826 RVA: 0x00061418 File Offset: 0x0005F618
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 112U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.ScepterId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04000E06 RID: 3590
		private static readonly MessageParser<CLNCKEAGDOI> _parser = new MessageParser<CLNCKEAGDOI>(() => new CLNCKEAGDOI());

		// Token: 0x04000E07 RID: 3591
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000E08 RID: 3592
		public const int ScepterIdFieldNumber = 14;

		// Token: 0x04000E09 RID: 3593
		private uint scepterId_;
	}
}
